package com.yesun.task.pipeline.service;

import com.yesun.task.pipeline.domain.po.DetailPO;
import com.yesun.task.pipeline.domain.po.JobLogPO;
import com.yesun.task.pipeline.domain.po.NewsPO;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface ClickhouseService {
    List<Map<String,Object>> query(String sql);
    void batchInsert(List<DetailPO> list);
    void batchInsertNews(List<NewsPO> list);
}
